org.neo4j.kernel
Class OrderedByTypeExpander

java.lang.Object
  extended by org.neo4j.kernel.StandardExpander
      extended by org.neo4j.kernel.OrderedByTypeExpander
All Implemented Interfaces:
Expander, RelationshipExpander

public final class OrderedByTypeExpander
extends StandardExpander


Field Summary
 
Fields inherited from class org.neo4j.kernel.StandardExpander
DEFAULT
 
Constructor Summary
OrderedByTypeExpander()
           
 
Method Summary
 StandardExpander add(RelationshipType type, Direction direction)
           
 StandardExpander remove(RelationshipType type)
           
 StandardExpander reversed()
          Returns a new instances with the exact same RelationshipTypes, but with all directions reversed (DirectionRelationshipExpander.reversed().
 
Methods inherited from class org.neo4j.kernel.StandardExpander
add, addNodeFilter, addRelationsipFilter, expand, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderedByTypeExpander

public OrderedByTypeExpander()
Method Detail

add

public StandardExpander add(RelationshipType type,
                            Direction direction)
Specified by:
add in interface Expander
Specified by:
add in class StandardExpander

remove

public StandardExpander remove(RelationshipType type)
Specified by:
remove in interface Expander
Specified by:
remove in class StandardExpander

reversed

public StandardExpander reversed()
Description copied from interface: RelationshipExpander
Returns a new instances with the exact same RelationshipTypes, but with all directions reversed (DirectionRelationshipExpander.reversed().

Specified by:
reversed in interface Expander
Specified by:
reversed in interface RelationshipExpander
Specified by:
reversed in class StandardExpander
Returns:
a RelationshipExpander with the same types, but with reversed directions.


Copyright © 2010 Neo4j. All Rights Reserved.